package com.nmsl.nurse.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nmsl.common.annotation.Excel;
import com.nmsl.common.core.domain.BaseEntity;

/**
 * 患者住院护理记录对象 hospital_nursing_record
 * 
 * @author mengdi
 * @date 2025-02-19
 */
@Data
public class MHospitalNursingRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 护理记录编号 */
    private Long nursingRecordId;

    /** 护理日期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "护理日期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nursingDateTime;

    /** 护理内容 */
    @Excel(name = "护理内容")
    private String nursingContent;

    /** 生命体征记录 */
    @Excel(name = "生命体征记录")
    private String vitals;

    /** 患者情况记录 */
    @Excel(name = "患者情况记录")
    private String patientConditionRecord;

    /** 员工id（员工表）（护士） */
    @Excel(name = "员工id", readConverterExp = "员=工表")
    private Long nurseId;

    /** 患者id（患者表） */
    @Excel(name = "患者id", readConverterExp = "患=者表")
    private Long patientId;

    /** 住院登记表编号 */
    @Excel(name = "住院登记表编号")
    private String registrationId;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String ext1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String ext2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String ext3;

    /** 扩展字段4 */
    @Excel(name = "扩展字段4")
    private String ext4;


    List<MHospitalizationRegistration> hospitalizationRegistrationList;

    public void setNursingRecordId(Long nursingRecordId) 
    {
        this.nursingRecordId = nursingRecordId;
    }

    public Long getNursingRecordId() 
    {
        return nursingRecordId;
    }
    public void setNursingDateTime(Date nursingDateTime) 
    {
        this.nursingDateTime = nursingDateTime;
    }

    public Date getNursingDateTime() 
    {
        return nursingDateTime;
    }
    public void setNursingContent(String nursingContent) 
    {
        this.nursingContent = nursingContent;
    }

    public String getNursingContent() 
    {
        return nursingContent;
    }
    public void setVitals(String vitals) 
    {
        this.vitals = vitals;
    }

    public String getVitals() 
    {
        return vitals;
    }
    public void setPatientConditionRecord(String patientConditionRecord) 
    {
        this.patientConditionRecord = patientConditionRecord;
    }

    public String getPatientConditionRecord() 
    {
        return patientConditionRecord;
    }
    public void setNurseId(Long nurseId) 
    {
        this.nurseId = nurseId;
    }

    public Long getNurseId() 
    {
        return nurseId;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setRegistrationId(String registrationId) 
    {
        this.registrationId = registrationId;
    }

    public String getRegistrationId() 
    {
        return registrationId;
    }
    public void setExt1(String ext1) 
    {
        this.ext1 = ext1;
    }

    public String getExt1() 
    {
        return ext1;
    }
    public void setExt2(String ext2) 
    {
        this.ext2 = ext2;
    }

    public String getExt2() 
    {
        return ext2;
    }
    public void setExt3(String ext3) 
    {
        this.ext3 = ext3;
    }

    public String getExt3() 
    {
        return ext3;
    }
    public void setExt4(String ext4) 
    {
        this.ext4 = ext4;
    }

    public String getExt4() 
    {
        return ext4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("nursingRecordId", getNursingRecordId())
            .append("nursingDateTime", getNursingDateTime())
            .append("nursingContent", getNursingContent())
            .append("vitals", getVitals())
            .append("patientConditionRecord", getPatientConditionRecord())
            .append("nurseId", getNurseId())
            .append("patientId", getPatientId())
            .append("registrationId", getRegistrationId())
            .append("ext1", getExt1())
            .append("ext2", getExt2())
            .append("ext3", getExt3())
            .append("ext4", getExt4())
            .toString();
    }
}
